iterator - définition. Qu'est-ce que iterator
Diclib.com
Dictionnaire ChatGPT
Entrez un mot ou une phrase dans n'importe quelle langue 👆
Langue:

Traduction et analyse de mots par intelligence artificielle ChatGPT

Sur cette page, vous pouvez obtenir une analyse détaillée d'un mot ou d'une phrase, réalisée à l'aide de la meilleure technologie d'intelligence artificielle à ce jour:

  • comment le mot est utilisé
  • fréquence d'utilisation
  • il est utilisé plus souvent dans le discours oral ou écrit
  • options de traduction de mots
  • exemples d'utilisation (plusieurs phrases avec traduction)
  • étymologie

Qu'est-ce (qui) est iterator - définition

IN COMPUTING, AN OBJECT WHOSE METHODS ENABLES A PROGRAM TO ORDERLY TRAVERSE ELEMENTS HAVING SOME LOGICAL CONDITIONS IN A GIVEN CONTAINER FROM A GIVEN FIRST ELEMENT
Iterators; IteratorAggregate; Iterator (C++); IEnumerable; External iterator; Internal iterators; Comparison of programming languages (iterators)

iterator         
<programming> An object or routine for accessing items from a list, array or stream one at a time. By extension, the term can be used for an object or routine for accesing items from any data structure that can be viewed as a list. For example, a traverser is an iterator for tree-shaped data structures. (2001-10-04)
Iterator         
In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface.
Iterator pattern         
OBJECT-ORIENTED DESIGN PATTERN USING AN ITERATOR TO TRAVERSE A CONTAINER AND ACCESS THE CONTAINER'S ELEMENTS
Iterator Pattern; Cursor pattern
In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's elements. The iterator pattern decouples algorithms from containers; in some cases, algorithms are necessarily container-specific and thus cannot be decoupled.

Wikipédia

Iterator

In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface. Though the interface and semantics of a given iterator are fixed, iterators are often implemented in terms of the structures underlying a container implementation and are often tightly coupled to the container to enable the operational semantics of the iterator. An iterator performs traversal and also gives access to data elements in a container, but does not itself perform iteration (i.e., not without some significant liberty taken with that concept or with trivial use of the terminology).

An iterator is behaviorally similar to a database cursor. Iterators date to the CLU programming language in 1974.